import Vue from 'vue'
import App from './App.vue'
import store from '@/store/index'
import i18n from '@/i18n/index'
import router from '@/router/index'
import log from '@/plugins/log'

// 引入插件
import '@/plugins/element'
import '@/plugins/axios'

// 引入全局样式
import '@/assets/styles/index.scss'

// 浏览器兼容
import '@babel/polyfill'

// 载入自定义log插件
Vue.use(log)

Vue.config.productionTip = false

new Vue({
  store,
  i18n,
  router,
  render: h => h(App)
}).$mount('#app')
